package ooday05;

public class Test {
    public static void main(String[] args) {
        int total = 0;
        for (int i = 0,j = 10; total >30;++i,--j){
            System.out.println("i="+i+"j = "+j);
            total+=(i+j);
        }
        System.out.println("total"+total);
    }
}
